package com.magicyuan.search.restful.pojo;

import org.apache.lucene.search.Explanation;

public class SearchResult {

    private String id;

    private String index;

    private String type;

    private Float score;

    private Object result;
    
    private Explanation explanation;

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    
    public Explanation getExplanation() {
        return explanation;
    }

    
    public void setExplanation(Explanation explanation) {
        this.explanation = explanation;
    }

}
